﻿<UserControl x:Class="Manas.Silverlight.DynamicDeepZoom.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:local="clr-namespace:Manas.Silverlight.DynamicDeepZoom"
    mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="600">
    <UserControl.Resources>
        <local:DeepZoomViewModel x:Key="ViewModel" />
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
        <Border Margin="20" Padding="10" BorderBrush="Black" BorderThickness="2" CornerRadius="1" HorizontalAlignment="Center" VerticalAlignment="Center">
            <local:DeepZoomControl DataContext="{StaticResource ViewModel}" />
        </Border>
    </Grid>
</UserControl>
